package cn.edu.shu.wechat.webservice.process;


import cn.edu.shu.wechat.core.WechatSupport;
import cn.edu.shu.wechat.core.bean.MsgType;
import cn.edu.shu.wechat.core.request.bean.WechatRequest;
import cn.edu.shu.wechat.core.response.bean.ImageResponse;

/**
 * Created by 66kanfenjing on 2015/12/12.
 */
public class WechatCoreProcess extends WechatSupport {

    public WechatCoreProcess(WechatRequest request)
    {
        super(request);
    }
    @Override
    protected void onText() {
        responseText("你好，世界！");
    }

    @Override
    protected void onImage() {
		String mediaId = wechatRequest.getMediaId();
		responseImage(mediaId);
    }

    @Override
    protected void onVoice() {
    	String mediaId = wechatRequest.getMediaId();
    	responseVoice(mediaId);
    }

    @Override
    protected void onVideo() {
    	String mediaId = wechatRequest.getMediaId();
    	responseVideo(mediaId, "just test", "等风来，看风景");
    }

    @Override
    protected void onShortVideo() {
    	String mediaId = wechatRequest.getMediaId();
    }

    @Override
    protected void onLocation() {

    }

    @Override
    protected void onLink() {

    }

    @Override
    protected void onUnknown() {

    }

    @Override
    protected void click() {

    }

    @Override
    protected void subscribe() {
    	responseText("/::) /::) /::) /::) /::) /::) \n 欢迎关注图书漂流站 \n /::>"
    			+ " /::>  /::>  /::>  /::>  /::>");
    }

    @Override
    protected void unSubscribe() {
    	responseText("/::) /::) /::) /::) /::) /::) \n 你为什么要走？ \n /::|"
    			+ " /::|  /::|  /::|  /::|  /::|");
    }

    @Override
    protected void scan() {

    }

    @Override
    protected void location() {

    }

    @Override
    protected void view() {

    }

    @Override
    protected void templateMsgCallback() {

    }

    @Override
    protected void scanCodePush() {

    }

    @Override
    protected void scanCodeWaitMsg() {

    }

    @Override
    protected void picSysPhoto() {

    }

    @Override
    protected void picPhotoOrAlbum() {

    }

    @Override
    protected void picWeixin() {

    }

    @Override
    protected void locationSelect() {

    }

    @Override
    protected void kfCreateSession() {

    }

    @Override
    protected void kfCloseSession() {

    }

    @Override
    protected void kfSwitchSession() {

    }
}
